﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

namespace BLL
{
    public class B_G
    {
        DAL.D_G DAL_g = new DAL.D_G();

        public List<Models.g_data> getList()
        {
            return DAL_g.getList();
        }
        public bool commit(Models.g_data model)
        {
            var res = DAL_g.commit_suger(model);
            return res==1?true:false;
        }

        public bool save_result(List<Models.g_data> gs)
        {
            return DAL_g.save_result(gs); ;
        }
        public Models.g_data select(Models.Student student)
        {
            var m_g = DAL_g.select(student);
            return m_g;
        }
    }
}
